package ru.niir.goodfil.excel.impl;

import ru.niir.goodfil.audit.util.Assert;
import ru.niir.goodfil.excel.client.SheetModel;
import ru.niir.goodfil.excel.client.WorkbookModel;

/**
 * @author: Кирилл
 */
public class DefaultWorkbookModel implements WorkbookModel {
    private final SheetModel[] sheets;

    public DefaultWorkbookModel(SheetModel[] sheets) {
        Assert.notNull(sheets);
        this.sheets = sheets;
    }

    public SheetModel[] getSheets() {
        return sheets;
    }
}
